const Router=require('@koa/router')
const  userRouter=new Router({
  prefix:'/user'
})
userRouter.get('/',(ctx,next)=>{
  ctx.body={
    message:'User home page'
  }
})

userRouter.post('/add',(ctx,next)=>{
  ctx.body={
    message:'Add user'
  }
})

module.exports =userRouter;